﻿/******************************************************************
** Copyright (c) 2016 正道远研发中心
** 创建人:  youping
** 创建日期:2019-11-02
** 修改人:
** 修改日期:
** 描 述:  长短路径转换
** 版 本:1.0
**-----------------------------------------------------------------
*******************************************************************/

using System;
using Smart.Core;

namespace Smart.ShortUrl.BU.Data
{
    
    [Table("SYS_ShortUrlTrans")]
    [Serializable()]
    public class SYSShortUrlTransData : FunBuilder<SYSShortUrlTransData>
    {
        public SYSShortUrlTransData()
        {
            base.InitEntity(this);
        }

        private string _ID = string.Empty;
        /// <summary>
        /// 序号
        /// </summary>
        [Column(ColumnTypeAttr = ColumnType.PrimaryKey)]
        public string ID
        {
            get { return _ID; }
            set { _ID = value; }
        }

        private string _MD5Code = string.Empty;
        /// <summary>
        /// 服务编号
        /// </summary>
        public string MD5Code
        {
            get { return _MD5Code; }
            set { _MD5Code = value; }
        }

        private string _TargetUrl = string.Empty;
        /// <summary>
        /// 目标地址
        /// </summary>
        public string TargetUrl
        {
            get { return _TargetUrl; }
            set { _TargetUrl = value; }
        }

        private string _Remark = string.Empty;
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get { return _Remark; }
            set { _Remark = value; }
        }

        private int _Enabled = 0;
        /// <summary>
        /// 是否有效 0无效，1有效
        /// </summary>
        [Column(ColumnTypeAttr = ColumnType.Enabled)]
        public int Enabled
        {
            get { return _Enabled; }
            set { _Enabled = value; }
        }

        private string _CreateStaff = string.Empty;
        /// <summary>
        /// 创建人
        /// </summary>
        [Column(ColumnTypeAttr = ColumnType.CreateStaff)]
        public string CreateStaff
        {
            get { return _CreateStaff; }
            set { _CreateStaff = value; }
        }

        private string _CreateDate = string.Empty;
        /// <summary>
        /// 创建时间
        /// </summary>
        [Column(ColumnTypeAttr = ColumnType.CreateDate)]
        public string CreateDate
        {
            get { return _CreateDate; }
            set { _CreateDate = value; }
        }

        private string _ModifyStaff = string.Empty;
        /// <summary>
        /// 修改人
        /// </summary>
        [Column(ColumnTypeAttr = ColumnType.ModifyStaff)]
        public string ModifyStaff
        {
            get { return _ModifyStaff; }
            set { _ModifyStaff = value; }
        }

        private string _ModifyDate = string.Empty;
        /// <summary>
        /// 修改时间
        /// </summary>
        [Column(ColumnTypeAttr = ColumnType.ModifyDate)]
        public string ModifyDate
        {
            get { return _ModifyDate; }
            set { _ModifyDate = value; }
        }

    }
}
